﻿namespace PLCS.Application.Contracts.ErrorLogApp.Dtos;

public class ErrorLogDto : EntityDto<Guid>
{
    /// <summary>
    /// 错误代码
    /// </summary>
    public string Code { set; get; }

    /// <summary>
    /// 错误信息
    /// </summary>
    public string Message { get; set; }

    /// <summary>
    /// 分类
    /// </summary>
    public string Kind { get; set; }

    /// <summary>
    /// 来源
    /// </summary>
    public string Source { get; set; }

    /// <summary>
    /// 原因
    /// </summary>
    public string? Reason { get; set; }

    /// <summary>
    /// 解决方法
    /// </summary>
    public string? Solution { get; set; }

    public YesNo IsDisposed { get; set; }
    public DateTime CreationTime { get; set; }
}